#ifndef PLAYERSETUP_H
#define PLAYERSETUP_H

#include <QWidget>

class QLineEdit;
class QLabel;
class QRadioButton;

class PlayerSetup : public QWidget
{
	Q_OBJECT
	
	public:
		PlayerSetup(bool human = false, QWidget *parent = 0);
		
		const QString &getName() const;
		bool getComputer() const;
		
	private:
		QLineEdit *m_nameEdit;
		QLabel *m_nameLabel;
		QRadioButton *m_HumanRadio;
		QRadioButton *m_ComputerRadio;
};

#endif